package com.fanketly.musicdiary.data.db

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverter
import androidx.room.TypeConverters
import com.fanketly.musicdiary.data.model.DiaryModel
import com.fanketly.musicdiary.data.model.MusicModel

@Database(entities = [DiaryModel::class, MusicModel::class], version = 1)
@TypeConverters(MusicInfoConverters::class)
abstract class DiaryDatabase : RoomDatabase() {
    abstract fun diaryDao(): DiaryDao
    abstract fun musicDao(): MusicDao
}